<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1y6jroc" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.2">
  <bpmn:process id="ProcessInstanceAssert-isWaitingAt-ActivityTreeTests" isExecutable="true">
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:outgoing>Flow_1swxism</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="Flow_1swxism" sourceRef="StartEvent_1" targetRef="AsyncServiceTask" />
    <bpmn:serviceTask id="AsyncServiceTask" name="Async service task" camunda:asyncBefore="true" camunda:expression="${true}">
      <bpmn:incoming>Flow_1swxism</bpmn:incoming>
      <bpmn:outgoing>Flow_18hxorp</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="Flow_18hxorp" sourceRef="AsyncServiceTask" targetRef="SubProcess" />
    <bpmn:subProcess id="SubProcess" name="Subprocess">
      <bpmn:incoming>Flow_18hxorp</bpmn:incoming>
      <bpmn:outgoing>Flow_1p80ef4</bpmn:outgoing>
      <bpmn:startEvent id="Event_1pm3s8m">
        <bpmn:outgoing>Flow_0rkj5w8</bpmn:outgoing>
      </bpmn:startEvent>
      <bpmn:endEvent id="Event_0szlr5q">
        <bpmn:incoming>Flow_0onkd0n</bpmn:incoming>
      </bpmn:endEvent>
      <bpmn:subProcess id="SubSubProcess" name="Sub sub process">
        <bpmn:incoming>Flow_0rkj5w8</bpmn:incoming>
        <bpmn:outgoing>Flow_0onkd0n</bpmn:outgoing>
        <bpmn:startEvent id="Event_16t69gy">
          <bpmn:outgoing>Flow_05glhxu</bpmn:outgoing>
        </bpmn:startEvent>
        <bpmn:serviceTask id="NestedAsyncServiceTask" name="Nested async service task" camunda:asyncBefore="true" camunda:expression="${true}">
          <bpmn:incoming>Flow_05glhxu</bpmn:incoming>
          <bpmn:outgoing>Flow_0lwea33</bpmn:outgoing>
        </bpmn:serviceTask>
        <bpmn:endEvent id="Event_0vks0z6">
          <bpmn:incoming>Flow_0lwea33</bpmn:incoming>
        </bpmn:endEvent>
        <bpmn:sequenceFlow id="Flow_0lwea33" sourceRef="NestedAsyncServiceTask" targetRef="Event_0vks0z6" />
        <bpmn:sequenceFlow id="Flow_05glhxu" sourceRef="Event_16t69gy" targetRef="NestedAsyncServiceTask" />
      </bpmn:subProcess>
      <bpmn:sequenceFlow id="Flow_0rkj5w8" sourceRef="Event_1pm3s8m" targetRef="SubSubProcess" />
      <bpmn:sequenceFlow id="Flow_0onkd0n" sourceRef="SubSubProcess" targetRef="Event_0szlr5q" />
    </bpmn:subProcess>
    <bpmn:endEvent id="Event_1yjwuqb">
      <bpmn:incoming>Flow_1p80ef4</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_1p80ef4" sourceRef="SubProcess" targetRef="Event_1yjwuqb" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ProcessInstanceAssert-isWaitingAt-ActivityTreeTests">
      <bpmndi:BPMNEdge id="Flow_1swxism_di" bpmnElement="Flow_1swxism">
        <di:waypoint x="215" y="177" />
        <di:waypoint x="270" y="177" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_18hxorp_di" bpmnElement="Flow_18hxorp">
        <di:waypoint x="370" y="177" />
        <di:waypoint x="450" y="177" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1p80ef4_di" bpmnElement="Flow_1p80ef4">
        <di:waypoint x="1030" y="177" />
        <di:waypoint x="1112" y="177" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="179" y="159" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0q0fxzf_di" bpmnElement="AsyncServiceTask">
        <dc:Bounds x="270" y="137" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1yjwuqb_di" bpmnElement="Event_1yjwuqb">
        <dc:Bounds x="1112" y="159" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0ap0ga5_di" bpmnElement="SubProcess" isExpanded="true">
        <dc:Bounds x="450" y="72" width="580" height="210" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0rkj5w8_di" bpmnElement="Flow_0rkj5w8">
        <di:waypoint x="518" y="180" />
        <di:waypoint x="550" y="180" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0onkd0n_di" bpmnElement="Flow_0onkd0n">
        <di:waypoint x="900" y="180" />
        <di:waypoint x="942" y="180" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_1pm3s8m_di" bpmnElement="Event_1pm3s8m">
        <dc:Bounds x="482" y="162" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0szlr5q_di" bpmnElement="Event_0szlr5q">
        <dc:Bounds x="942" y="162" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0ey1iw8_di" bpmnElement="SubSubProcess" isExpanded="true">
        <dc:Bounds x="550" y="100" width="350" height="160" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0lwea33_di" bpmnElement="Flow_0lwea33">
        <di:waypoint x="770" y="200" />
        <di:waypoint x="822" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_05glhxu_di" bpmnElement="Flow_05glhxu">
        <di:waypoint x="626" y="200" />
        <di:waypoint x="670" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_16t69gy_di" bpmnElement="Event_16t69gy">
        <dc:Bounds x="590" y="182" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0tksdd9_di" bpmnElement="NestedAsyncServiceTask">
        <dc:Bounds x="670" y="160" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0vks0z6_di" bpmnElement="Event_0vks0z6">
        <dc:Bounds x="822" y="182" width="36" height="36" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
